'use strict';

import log from "npmlog"
import {isDebug} from "@shenfengshan-cli/helper"

log.level = "info"
if (isDebug) {
    log.level = "verbose"
}

log.heading = "[sfs-cli]"
log.addLevel('success', 2000, {fg: 'green', bold: true});

export default log;